package com.example.demo.practice.enterprise;

import android.content.Intent;
import android.graphics.Color;
import android.graphics.Typeface;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.view.Window;
import android.widget.AdapterView;
import android.widget.Button;
import android.widget.Spinner;
import android.widget.TextView;

import com.example.demo.practice.R;
import com.example.demo.practice.dashboardview.PListView;
import com.example.demo.practice.innerclass.XFormatter;
import com.example.demo.practice.ui.TitleView;
import com.github.mikephil.charting.charts.LineChart;
import com.github.mikephil.charting.components.Description;
import com.github.mikephil.charting.components.LimitLine;
import com.github.mikephil.charting.components.XAxis;
import com.github.mikephil.charting.components.YAxis;
import com.github.mikephil.charting.data.Entry;
import com.github.mikephil.charting.data.LineData;
import com.github.mikephil.charting.data.LineDataSet;
import com.github.mikephil.charting.utils.ColorTemplate;

import org.w3c.dom.Text;

import java.util.ArrayList;

public class Etp_Check extends AppCompatActivity {

    private TitleView title;
    private TextView name;
    private Button sure;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        requestWindowFeature(Window.FEATURE_NO_TITLE);
        getSupportActionBar().hide();
        setContentView(R.layout.newcheck);
        title = (TitleView) findViewById(R.id.title_text_tv);
        name = (TextView) findViewById(R.id.etp);
        title.setText("企业抽查");
        Intent intent = getIntent();
        name.setText("企业：" + intent.getStringExtra("name"));
        sure = (Button) findViewById(R.id.sure);
        sure.setOnClickListener(new Button.OnClickListener(){//创建监听
            public void onClick(View v) {
                finish();
            }
        });
    }

}
